package com.dodoke.ojserver.mapper;

import com.dodoke.ojserver.bean.Solution;
import com.dodoke.ojserver.bean.SourceCodeUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface SolutionAndSourceMapper {

    // 新增一个代码相关数据
    int addSolution (Solution solution);

    // 新增一个代码内容
    int addSourceCodeUser (SourceCodeUser sourceCodeUser);
}
